package service;

import com.github.pagehelper.PageInfo;
import entity.LayRequest;
import entity.Users;

import java.util.List;

/**
 * @Author Administrator
 * @create 2020.06.18 下午 12:09
 */
public interface UsersService {

    PageInfo<Users> selectByMap(LayRequest layRequest);

    boolean insert(Users users);

    Users selectById(Integer id);

    boolean update(Users users);

    boolean delete(Integer id);


    Users selectByAccount(String account);

    boolean updateStatus(Users user);

    boolean updateTime(Users user);

    boolean updatePassword(Users user);

    List<Users> selectAll();
}
